package demo;

/**
 * @author ZhouWeiBo
 * @create 2022/6/8
 */
public class Person {
    private String name;
    private Role role;
    private City city;

    public Person(String name, Role role, City city) {
        this.name = name;
        this.role = role;
        this.city = city;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Role getRole() {
        return role;
    }

    public void setRole(Role role) {
        this.role = role;
    }

    public City getCity() {
        return city;
    }

    public void setCity(City city) {
        this.city = city;
    }
}
